//
//  TrainTargetView.h
//  CoolTennisBall
//
//  Created by Coollang on 16/7/20.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import <UIKit/UIKit.h>

@class RealTimeTrainModel;
@interface TrainTargetView : UIView


+ (instancetype)trainTargetViewType:(RealTimeTrainType)type;

- (void)addPopAnimation:(UIView *)view beginTime:(double)beginTime isUp:(BOOL)isUp completeBlock:(void(^)())completeBlock;

// 返回设置的目标值
@property (nonatomic, copy)void(^selectTargetValue)(RealTimeTrainModel *targetValueModel);



- (void)realTimeTrainHistoryData:(NSMutableArray <RealTimeTrainModel *>*)realTimeTrainHistoryData withTrainType:(RealTimeTrainType)type;

@end


